package com.pingba.service;

/**
 * Created by Administrator on 2015/10/19 0019.
 */


import com.pingba.entity.User;

import java.util.Date;

/**
 * Created by Administrator on 2015/8/15.
 */
public interface UserService extends BaseService<User,Long>{
    User findPhoneUser(String phone);
    void setPasswd(String phone, String passwd);
    User login(String phone, String passwd);
    void updateLoginTime(String phone, long date);
    void updateInfo(User user);
    void updateHeadUrlChangeTime(User user);

    User findByWeCharUnionId(String weCharUnionId);
    User findIdUser(long id);

    void updateLocationInfo(User user);
}
